
package com.elong.common.service;

import java.net.Socket;



/**
 * @ClassName: Client

 * @Description: socket客户端

 * @author Guanguo.Gao

 * @date 2014年8月1日 下午2:48:10

 * @version V1.0
 */
public class Client {

    public static void main(String[] args) throws Exception {
        Socket socket = new Socket("127.0.0.1", 9000);
        System.out.println(socket.isConnected());
        socket.close();
    }
}
